package com.warm.base.design.b_memento.mult;

import java.util.ArrayList;
import java.util.List;

/**
 * @Date: 2019/11/28 10:19
 * @Author: LChuang
 * @Description:
 */
public class MMemento {

    private List<String> states;

    public MMemento(List<String> states){
        //每次都存放新的
        this.states = new ArrayList<>(states);
    }

    public List<String> getStates(){
        return states;
    }
}
